package com.kd.juhaowan.ui.holder;

import android.annotation.SuppressLint;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;

import com.bumptech.glide.Glide;
import com.kd.juhaowan.R;
import com.kd.juhaowan.http.model.SigninModel;
import com.kd.juhaowan.ui.adapter.BaseViewHolder;
import com.kd.juhaowan.utils.GlideHelper;


import butterknife.BindView;

public class SigninFinishViewHolder extends BaseViewHolder {




    @BindView(R.id.item_signinfinish_text)
    TextView contentView;
    @BindView(R.id.item_signinfinish_image)
    ImageView finishView;






    public SigninFinishViewHolder(@NonNull View itemView) {
        super(itemView);
    }



    @SuppressLint("ResourceType")
    public void setDate(SigninModel model){
        GlideHelper.loadGoodsCover(Glide.with(getItemView()),finishView,model.getImages());

        contentView.setText(model.getName());



    }


}
